import coms from './src/components/index.js'

export const install = function(app){
  Object.keys(coms).forEach((key)=>{
    if(coms[key] && coms[key].name){
      coms[key].name && app.component(coms[key].name, coms[key]);
    }else{
      Object.keys(coms[key]).forEach((subKey) => {
        coms[key][subKey].name && app.component(coms[key][subKey].name, coms[key][subKey]);
      })
    }
  })
}

import * as utils from './src/utils/Utils.ts'

export * from './src/utils/Utils.ts'

export {coms}

import * as duang from './src/utils/Duang.ts'
export {duang}


export default {
  install,
  coms,
  utils,
  duang
}